import allRoutes from './generateRoute'

let homeroute = allRoutes.find(item => item.path === '/home')

let paymentroute = homeroute.children.find(item => item.path === "payment")
let preorderroute =homeroute.children.find(item =>item.path === 'preorder')





let dynamicRoute = {
    path:'/',
    children:[paymentroute,preorderroute],
    component: () =>
      import(/* webpackChunkName: "layout" */ "../layout/container.vue"),
}

export default dynamicRoute